package org.rafal.springframework.service;

import org.springframework.web.multipart.MultipartFile;

public interface FileService {

	/**
	 * Simple method check if file is a image file.
	 * @param image
	 */
	public void validateImage(MultipartFile image);
	/**
	 * Save a file to local disk.
	 * @param filename path with name to file.
	 * @param image file that we save
	 */
	public void saveImage(String filename, MultipartFile image);
	
}
